home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 05 Programming / ASTERI.SFX / cp.doc < prev    next >
Text File  |  1990-02-12  |  538b  |  29 lines

  1.        CP - Copy stdin to stdout
  2.  
  3. Flags:
  4.  
  5.    -p PETSCII to ASCII
  6.    -c CBM to ASCII
  7.    -d Strips binary (Dumps) to ASCII
  8.    -s CBM to PETSCII
  9.    -t PETSCII to CBM
  10.    -v ASCII to CBM
  11.    -u ASCII to PETSCII
  12.  
  13.  
  14. Examples:
  15.  
  16.    cp >prn
  17.    (Takes input from the keyboard, and
  18.     sends it to the printer. Use
  19.     Ctrl-Z to single End-of-File)
  20.  
  21.    cp -p <infile >outfile
  22.    (Produces the TrueASC equivalent of
  23.     the PETSCII infile)
  24.  
  25.    alias "lpr" "cp >prn"
  26.    egrep -i "=" <foo.asm ~ lpr
  27.    (Gives a hardcopy of the assignments
  28.     in foo.asm)
  29.